package com.atguigu.daijia.driver.service;

import com.atguigu.daijia.model.form.driver.DriverFaceModelForm;
import com.atguigu.daijia.model.form.driver.UpdateDriverAuthInfoForm;
import com.atguigu.daijia.model.vo.driver.DriverAuthInfoVo;

public interface DriverService {

    /*
     * 微信小程序登录
     * */
    String login(String code);

    /*
    * 获取司机信息
    * */
    DriverAuthInfoVo getDriverAuthInfo(Long driverId);

    /*
    * 更新司机认证信息
    * */
    Boolean updateDriverAuthInfo(UpdateDriverAuthInfoForm updateDriverAuthInfoForm);

    /*
    * //创建司机人脸识别模型
    * */
    Boolean creatDriverFaceModel(DriverFaceModelForm driverFaceModelForm);

    /*
     * 判断司机当日是否进行过人脸识别
     * */
    Boolean isFaceRecognition(Long driverId);

    /*
     * 人脸识别认证
     * */
    Boolean verifyDriverFace(DriverFaceModelForm driverFaceModelForm);

    /*
     * 开启接单服务
     * */
    Boolean startService(Long driverId);

    /*
     * 停止接单服务
     * */
    Boolean stopService(Long driverId);
}
